package com.xiaoma.verbal.utils;

import java.util.Map;

public class HandleResultUtils {

	public static void success(Map<String, Object> result) {
		result.put("state", 1);
	}

	public static void failure(Map<String, Object> result) {
		result.put("state", 0);
		result.put("tips", "系统错误，请稍后再试！");
	}
}
